const fs = require('fs');
const path = require('path');
const getInfo = require('image-size')
var child_process = require('child_process');

var current = process.cwd(); // 当前路径

var isWindows = path.sep === '\\'

const resPath = current.split('image-tool')[0] + 'sesame-unity/sesame/Assets/Game/Res';
const dynamicPath = path.join(resPath, 'Dynamic');
const cdnPath = path.join(resPath, 'CDN');

// ture 表文件， false 表目录
export function isFile(path) {
  return x.indexOf('.') !== -1
}

